﻿using Bilgesoft.Enterprise.Shared.ServiceContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bilgesoft.Enterprise.Shared.Services
{
    public class EnterpriseService :IEnterpriseService
    {
        public DataObjects.CityDTO[] GetCities()
        {
            return Bilgesoft.Enterprise.Server.BusinessLayer.EnterpriseBusinessManagement.Current.GetCities();
            
        }


        public DataObjects.CityDTO[] GetCitiesById(string id)
        {
            return Bilgesoft.Enterprise.Server.BusinessLayer.EnterpriseBusinessManagement.Current.GetCitiesById(id);
        }
    }
}
